obj-y += common.o
obj-pbl-$(CONFIG_MACH_K3_CORTEX_R5) += r5.o
obj-pbl-y += ddrss.o

extra-$(CONFIG_MACH_K3_CORTEX_R5) += combined-dm-cfg-am625.k3cfg combined-sysfw-cfg-am625.k3cfg

$(obj)/combined-dm-cfg-am625.k3cfg: $(srctree)/arch/arm/mach-k3/schema.yaml \
				    $(obj)/pm-cfg-am625.yaml \
				    $(obj)/rm-cfg-am625.yaml \
				    FORCE
	$(call if_changed,k3_cfg)

$(obj)/combined-sysfw-cfg-am625.k3cfg: $(srctree)/arch/arm/mach-k3/schema.yaml \
				       $(obj)/board-cfg-am625.yaml \
				       $(obj)/sec-cfg-am625.yaml \
				       $(obj)/pm-cfg-am625.yaml \
				       $(obj)/rm-cfg-am625.yaml \
				       FORCE
	$(call if_changed,k3_cfg)
